package com.ruixun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruixun.common.BaseEntity;
import lombok.Data;

/**
 * 用户实体类 - 对应jsh_user表
 * @author ruixun
 */
@TableName(value = "jsh_user")
@Data
public class User extends BaseEntity {

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String userName;

    /**
     * 登录名
     */
    @TableField(value = "login_name")
    private String loginName;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 领导标识
     */
    @TableField(value = "leader_flag")
    private String leaderFlag;

    /**
     * 职位
     */
    @TableField(value = "position")
    private String position;

    /**
     * 部门
     */
    @TableField(value = "department")
    private String department;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 电话号码
     */
    @TableField(value = "phonenum")
    private String phonenum;

    /**
     * 是否管理员
     */
    @TableField(value = "ismanager")
    private String ismanager;


    /**
     * 状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;




}